package com.school.campus.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.school.common.annotation.Excel;
import com.school.common.core.domain.BaseEntity;

/**
 * 社团活动类型对象 club_activity_type
 * 
 * @author wwj
 * @date 2025-11-06
 */
public class ClubActivityType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动类型主键ID（自增） */
    private String id;

    /** 活动类型名称（如：讲座分享、竞赛赛事） */
    @Excel(name = "活动类型名称", readConverterExp = "如=：讲座分享、竞赛赛事")
    private String name;

    /** 排序值（数字越小越靠前，用于下拉选择排序） */
    @Excel(name = "排序值", readConverterExp = "数=字越小越靠前，用于下拉选择排序")
    private String sort;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
